import { ICoreRuleType } from '@/types/core/rule'

export const typeOptions: {
    label: string
    value: ICoreRuleType
    theme: 'info' | 'warning'
}[] = [
    {
        label: '字符串',
        value: 'string',
        theme: 'info'
    },
    {
        label: '布尔',
        value: 'boolean',
        theme: 'warning'
    }
]

export const nullableOptions: {
    label: string
    value: 0 | 1
    theme: 'info' | 'warning'
}[] = [
    {
        label: '可以为空',
        value: 1,
        theme: 'info'
    },
    {
        label: '非空',
        value: 0,
        theme: 'warning'
    }
]
